package com.aidex.biz.mapper;

import com.aidex.common.core.mapper.BaseMapper;
import com.aidex.biz.domain.ZhuangkuLog;

/**
 * 撞库日志Mapper接口
 *
 * @author sean
 * @email 2074844820@qq.com
 * @date 2025-03-21
 */
public interface ZhuangkuLogMapper extends BaseMapper<ZhuangkuLog> {

    /**
     * 批量删除撞库日志
     *
     * @param ids 需要删除的撞库日志ID集合
     * @return
     */
    public int deleteZhuangkuLogByIds(String[] ids);

    /**
     * 获取最大编号
     *
     * @param zhuangkuLog 撞库日志
     * @return 结果
     */
    public Integer findMaxSort(ZhuangkuLog zhuangkuLog);

    /**
     * 查找最新的一条
     *
     * @param zhuangkuLog
     * @return
     */
    public ZhuangkuLog findOne(ZhuangkuLog zhuangkuLog);
}
